#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
@FileName: root_paras.py
@Version: 1.0
@Date: 2023/6/21 10:48
@Description: 函数求根的参数包装
"""


class Paras:
    def __init__(self):
        self.start: float = 0.0
        self.dft_sect: float = 1.0
        self.end: float = self.start + self.dft_sect

        self.x0: float = self.start
        self.x1: float = self.end
        self.x2: float = self.end + 1.0

        self.sec_tol: float = 1e-8  # x的区间精度
        self.sol_tol: float = 1e-10  # 零点的 y精度
        self.loops: int = 1000  # 循环次数
